package com.koron.order.common.service;

import com.github.pagehelper.PageInfo;
import com.koron.bean.base.BaseQueryBean;
import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.common.bean.po.OrderSignBean;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (OrderSign)表服务接口
 *
 * @author zhouj
 * @since 2021-09-16 14:54:20
 */
public interface OrderSignService extends CommonService {

    int insert(SessionFactory factory, OrderSignBean orderSign);

    int update(SessionFactory factory, OrderSignBean orderSign);

    int deleteById(SessionFactory factory, String id);

    int deleteByOrderId(SessionFactory factory, String orderId);

    OrderSignBean queryById(SessionFactory factory, String id);

    PageInfo queryPageList(SessionFactory factory, OrderSignBean orderSign, BaseQueryBean pageBean);

    List<OrderSignBean> queryList(SessionFactory factory, OrderSignBean orderSign);

    int insertBatch(SessionFactory factory, List<OrderSignBean> orderSignBeanList);
}
